﻿using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WY.Common;

namespace WY.WebApp.App_Start
{
    public class MyQuartzJob : IJob
    {
        public MyQuartzJob()
		{
		}
        public virtual void Execute(IJobExecutionContext context)
        {
            try
            {
                //Log.Info(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + ":MyQuartzJob Start!");
                //CrmService crmService = new CrmService();
                //crmService.TimerTest();

            }
            catch (Exception ex)
            {
                Log.Error(ex);
            }
        }
    }
}